<div>
<?
if (count($this->mensajes) > 0) {
    echo '<div class="success">';
    $sep="";
    foreach ($this->mensajes as $msg) {
        echo $msg.$sep;
        $sep='<br/>';
    }
    echo '</div>';
}
?>
<div id="container_user">
<? if (strlen($this->message)>0): ?>
    <h2><?=$this->translate($this->message)?></h2>
<? else: ?>
    <h2><?=$this->translate('User login')?></h2>
<? endif; ?>
<div class="zend_form">
    <p>
    <?=$this->translate ( '(If you are a new user, please' );?>
    &nbsp;<a href="/user/register" title="user register"><?=$this->translate ( 'register here' );?></a>)
    </p><?php if (isset ( $this->error )) :?>
    <div class="error"><?=$this->escape ( $this->error );?></div>
    <?php endif;?>

    <form action="<?=$this->escape ( $this->form->getAction () )?>"
            method="<?=$this->escape ( $this->form->getMethod () )?>">

    <?        echo $this->form->email;
                echo $this->form->password; ?>

                <span id="agree">
                <?=$this->form->rememberme.$this->translate('Remember me');?>
                </span>

                <? echo $this->form->submit; ?>
                <br style="clear:both;"/>

    </form>
</div>
</div><!-- end of container_page --->
</div>